home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / DEPOSITO / REmovido / Esportes / SlapShot.swf / scripts / frame_12 / DoAction.as
Text File  |  2006-06-13  |  1KB  |  72 lines

  1. hotspot = getProperty("/player_movie", _X);
  2. if(hotspot >= "100" and "120" >= hotspot)
  3. {
  4.    tellTarget("shot1")
  5.    {
  6.       gotoAndPlay("shot" add int(random("3")));
  7.    }
  8. }
  9. else if(hotspot >= "121" and "140" >= hotspot)
  10. {
  11.    tellTarget("shot2")
  12.    {
  13.       gotoAndPlay("shot" add int(random("3")));
  14.    }
  15. }
  16. else if(hotspot >= "141" and "160" >= hotspot)
  17. {
  18.    tellTarget("shot3")
  19.    {
  20.       gotoAndPlay("shot" add int(random("3")));
  21.    }
  22. }
  23. else if(hotspot >= "161" and "180" >= hotspot)
  24. {
  25.    tellTarget("shot4")
  26.    {
  27.       gotoAndPlay("shot" add int(random("3")));
  28.    }
  29. }
  30. else if(hotspot >= "181" and "200" >= hotspot)
  31. {
  32.    tellTarget("shot5")
  33.    {
  34.       gotoAndPlay("shot" add int(random("3")));
  35.    }
  36. }
  37. else if(hotspot >= "201" and "220" >= hotspot)
  38. {
  39.    tellTarget("shot6")
  40.    {
  41.       gotoAndPlay("shot" add int(random("3")));
  42.    }
  43. }
  44. else if(hotspot >= "221" and "240" >= hotspot)
  45. {
  46.    tellTarget("shot7")
  47.    {
  48.       gotoAndPlay("shot" add int(random("3")));
  49.    }
  50. }
  51. else if(hotspot >= "241" and "260" >= hotspot)
  52. {
  53.    tellTarget("shot8")
  54.    {
  55.       gotoAndPlay("shot" add int(random("3")));
  56.    }
  57. }
  58. else if(hotspot >= "261" and "280" >= hotspot)
  59. {
  60.    tellTarget("shot9")
  61.    {
  62.       gotoAndPlay("shot" add int(random("3")));
  63.    }
  64. }
  65. else if(hotspot >= "281" and "300" >= hotspot)
  66. {
  67.    tellTarget("shot10")
  68.    {
  69.       gotoAndPlay("shot" add int(random("3")));
  70.    }
  71. }
  72.